package com.xiyu.service.convert.material;

import com.xiyu.service.vo.material.warehouse.WarehouseSimpleListOutput;
import com.xiyu.service.vo.material.warehouse.WarehouseSingleGetOutput;
import com.xiyu.service.vo.material.warehouse.WarehouseUpdateInput;
import com.xiyu.service.vo.material.warehouse.WarehouseCreateInput;
import com.xiyu.service.vo.material.warehouse.WarehousePageQueryOutput;
import com.xiyu.service.model.material.info.MaterialWarehouse;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.babyfish.jimmer.Page;

/**
 * 供应商仓库 Convert
 */
@Mapper
public interface WarehouseConvert {
    WarehouseConvert INSTANCE = Mappers.getMapper(WarehouseConvert.class);


    List<WarehousePageQueryOutput> pageQueryOutputConvert(List<MaterialWarehouse> output);

    MaterialWarehouse createInputConvert(WarehouseCreateInput input);

    MaterialWarehouse updateInputConvert(WarehouseUpdateInput input);

    WarehouseSingleGetOutput singleGetOutputConvert(MaterialWarehouse output);

    List<WarehouseSimpleListOutput> simpleListOutputConvert(List<MaterialWarehouse> output);

}
